﻿Public Class TransactionHistory
	
	Private _transactions As HashSet(Of Transaction)
	
	Public Sub TransactionHistory()
		_transactions = New HashSet(Of Transaction)
	End Sub	
	
	
	Public Property Count() As Integer
		Get
			If Me._transactions <> DBNull.Value Then
				Return _transactions.Count
			Else
				Throw New NullReferenceException("Transaction History has not been initialized.")
			End If

		End Get
	End Property
	
	
	Public Property Transactions As HashSet(Of Transaction)
		Get
			Return Me._transactions
		End Get
	End Property	
	
	
	
	
End Class
